package bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Travelogue entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Travelogue implements java.io.Serializable {

	// Fields

	private Integer TId;
	private User user;
	private String logName;
	private String logComment;
	private Date createdAt;
	private String privacy;
	private Set travelogueComments = new HashSet(0);
	private Set logTags = new HashSet(0);
	private Set atcLogs = new HashSet(0);
	private Set logDests = new HashSet(0);

	// Constructors

	/** default constructor */
	public Travelogue() {
	}

	/** minimal constructor */
	public Travelogue(Integer TId, User user, String logName,
			String logComment, Date createdAt) {
		this.TId = TId;
		this.user = user;
		this.logName = logName;
		this.logComment = logComment;
		this.createdAt = createdAt;
	}
	
	/** minimal constructor */
	public Travelogue(User user, String logName,
			String logComment, Date createdAt) {
		this.user = user;
		this.logName = logName;
		this.logComment = logComment;
		this.createdAt = createdAt;
	}

	/** full constructor */
	public Travelogue(Integer TId, User user, String logName,
			String logComment, Date createdAt, String privacy,
			Set travelogueComments, Set logTags, Set atcLogs, Set logDests) {
		this.TId = TId;
		this.user = user;
		this.logName = logName;
		this.logComment = logComment;
		this.createdAt = createdAt;
		this.privacy = privacy;
		this.travelogueComments = travelogueComments;
		this.logTags = logTags;
		this.atcLogs = atcLogs;
		this.logDests = logDests;
	}

	// Property accessors

	public Integer getTId() {
		return this.TId;
	}

	public void setTId(Integer TId) {
		this.TId = TId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getLogName() {
		return this.logName;
	}

	public void setLogName(String logName) {
		this.logName = logName;
	}

	public String getLogComment() {
		return this.logComment;
	}

	public void setLogComment(String logComment) {
		this.logComment = logComment;
	}

	public Date getCreatedAt() {
		return this.createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

	public String getPrivacy() {
		return this.privacy;
	}

	public void setPrivacy(String privacy) {
		this.privacy = privacy;
	}

	public Set getTravelogueComments() {
		return this.travelogueComments;
	}

	public void setTravelogueComments(Set travelogueComments) {
		this.travelogueComments = travelogueComments;
	}

	public Set getLogTags() {
		return this.logTags;
	}

	public void setLogTags(Set logTags) {
		this.logTags = logTags;
	}

	public Set getAtcLogs() {
		return this.atcLogs;
	}

	public void setAtcLogs(Set atcLogs) {
		this.atcLogs = atcLogs;
	}

	public Set getLogDests() {
		return this.logDests;
	}

	public void setLogDests(Set logDests) {
		this.logDests = logDests;
	}

}